package com.client.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.client.pojo.User;

@Mapper
public interface UserMapper {

	// 用户登录验证
	public User checkLoginByUser(@Param(value = "username") String username,
			@Param(value = "password") String password);

	// 用户注册
	public void regist(User user);

	// ajax
	public List<User> findUser(String username);

}
